package com.zx.cloud.domain;

import io.swagger.annotations.ApiModelProperty;

import java.time.OffsetDateTime;

import lombok.EqualsAndHashCode;
import lombok.ToString;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zx.cloud.model.BasicDomain;
import com.zx.cloud.util.converter.jackson.OffsetDateTimeToIso8601Serializer;

/**
 * 
 * sys_role-角色
 *
 */
@ToString
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = { "hibernateLazyInitializer", "handler",
		"fieldHandler" }, ignoreUnknown = true)
public class Shop extends BasicDomain {

	private static final long serialVersionUID = 1L;
	
	/**
	 * id
	 */
	@ApiModelProperty(value = "id")
	private String idString;

	 
		/**
		 * 商户名称
		 */
		@ApiModelProperty(value = "商户名称")
		 private String name;
		/**
		 * 已使金额
		 */
		@ApiModelProperty(value = "已使金额")
		 private Integer type;
		/**
		 * 
		 */
		@ApiModelProperty(value = "")
		 private Integer usedmoney;
		/**
		 * 可用余额
		 */
		@ApiModelProperty(value = "可用余额")
		 private Integer balance;
		/**
		 * 已查询条数
		 */
		@ApiModelProperty(value = "已查询条数")
		 private Integer searchnumber;
		/**
		 * 状态  0-有效  1-冻结
		 */
		@ApiModelProperty(value = "状态  0-有效  1-冻结")
		 private Integer status;
		/**
		 * 删除状态  0-有效  1-删除
		 */
		@ApiModelProperty(value = "删除状态  0-有效  1-删除")
		 private Integer del;
		/**
		 * 创建时间
		 */
		@ApiModelProperty(value = "创建时间")
		@JsonSerialize(using = OffsetDateTimeToIso8601Serializer.class)		
		 private OffsetDateTime createtime;
		/**
		 * @return the idString
		 */
		public String getIdString() {
			return idString;
		}
		/**
		 * @param idString the idString to set
		 */
		public void setIdString(String idString) {
			this.idString = idString;
		}
		/**
		 * @return the name
		 */
		public String getName() {
			return name;
		}
		/**
		 * @param name the name to set
		 */
		public void setName(String name) {
			this.name = name;
		}
		/**
		 * @return the type
		 */
		public Integer getType() {
			return type;
		}
		/**
		 * @param type the type to set
		 */
		public void setType(Integer type) {
			this.type = type;
		}
		/**
		 * @return the usedmoney
		 */
		public Integer getUsedmoney() {
			return usedmoney;
		}
		/**
		 * @param usedmoney the usedmoney to set
		 */
		public void setUsedmoney(Integer usedmoney) {
			this.usedmoney = usedmoney;
		}
		/**
		 * @return the balance
		 */
		public Integer getBalance() {
			return balance;
		}
		/**
		 * @param balance the balance to set
		 */
		public void setBalance(Integer balance) {
			this.balance = balance;
		}
		/**
		 * @return the searchnumber
		 */
		public Integer getSearchnumber() {
			return searchnumber;
		}
		/**
		 * @param searchnumber the searchnumber to set
		 */
		public void setSearchnumber(Integer searchnumber) {
			this.searchnumber = searchnumber;
		}
		/**
		 * @return the status
		 */
		public Integer getStatus() {
			return status;
		}
		/**
		 * @param status the status to set
		 */
		public void setStatus(Integer status) {
			this.status = status;
		}
		/**
		 * @return the del
		 */
		public Integer getDel() {
			return del;
		}
		/**
		 * @param del the del to set
		 */
		public void setDel(Integer del) {
			this.del = del;
		}
		/**
		 * @return the createtime
		 */
		public OffsetDateTime getCreatetime() {
			return createtime;
		}
		/**
		 * @param createtime the createtime to set
		 */
		public void setCreatetime(OffsetDateTime createtime) {
			this.createtime = createtime;
		}

		
		
	
}
